{% extends "product/base.html" %}{% load i18n %} {% block content %}
{% block title %}{% trans "Product List title" %}{% endblock %}
<div>
	{% if products %}
	<div class="box">
		<ol>
			{% for product in products %}
			<li>
				<a href="/product/view/{{product.id}}/">{{ product.name }}</a> &nbsp;&nbsp;
				<a href="/order/list/product/{{product.id}}/">{% trans "Orders" %}</a>
				&nbsp;&nbsp; 
				{% if product.is_changable	%}
				<a href="/product/{{product.id}}/delete/"> {% trans "delete" %} </a> 
				{% endif %} 
			</li>
			{% endfor %}
		</ol>
	</div>
	{% endif %}
</div>
{% endblock %}
